using Microsoft.Practices.SmartClient.DisconnectedAgent;
using WinFormCD.Infrastructure.Library.TradeServiceWcf;
using System;

namespace WinFormCD.Infrastructure.Library.DSA.TradeServiceAsmx
{
    // Generated code for the web service.
    // Use this proxy to make requests to the service when working in an application that is occasionally connected
    public abstract class CallbackBase
    {
        #region getHolding

        public abstract void OngetHoldingReturn(Request request, object[] parameters, HoldingDataBean returnValue);

        public abstract OnExceptionAction OngetHoldingException(Request request, Exception ex);

        #endregion getHolding

        #region getMarketSummary

        public abstract void OngetMarketSummaryReturn(Request request, object[] parameters, MarketSummaryDataBeanWS returnValue);

        public abstract OnExceptionAction OngetMarketSummaryException(Request request, Exception ex);

        #endregion getMarketSummary

        #region getTopOrders

        public abstract void OngetTopOrdersReturn(Request request, object[] parameters, OrderDataBean[] returnValue);

        public abstract OnExceptionAction OngetTopOrdersException(Request request, Exception ex);

        #endregion getTopOrders

        #region sellEnhanced

        public abstract void OnsellEnhancedReturn(Request request, object[] parameters, OrderDataBean returnValue);

        public abstract OnExceptionAction OnsellEnhancedException(Request request, Exception ex);

        #endregion sellEnhanced

        #region isOnline

        public abstract void OnisOnlineReturn(Request request, object[] parameters);

        public abstract OnExceptionAction OnisOnlineException(Request request, Exception ex);

        #endregion isOnline

        #region login

        public abstract void OnloginReturn(Request request, object[] parameters, AccountDataBean returnValue);

        public abstract OnExceptionAction OnloginException(Request request, Exception ex);

        #endregion login

        #region getOrders

        public abstract void OngetOrdersReturn(Request request, object[] parameters, OrderDataBean[] returnValue);

        public abstract OnExceptionAction OngetOrdersException(Request request, Exception ex);

        #endregion getOrders

        #region getAccountData

        public abstract void OngetAccountDataReturn(Request request, object[] parameters, AccountDataBean returnValue);

        public abstract OnExceptionAction OngetAccountDataException(Request request, Exception ex);

        #endregion getAccountData

        #region getAccountProfileData

        public abstract void OngetAccountProfileDataReturn(Request request, object[] parameters, AccountProfileDataBean returnValue);

        public abstract OnExceptionAction OngetAccountProfileDataException(Request request, Exception ex);

        #endregion getAccountProfileData

        #region updateAccountProfile

        public abstract void OnupdateAccountProfileReturn(Request request, object[] parameters, AccountProfileDataBean returnValue);

        public abstract OnExceptionAction OnupdateAccountProfileException(Request request, Exception ex);

        #endregion updateAccountProfile

        #region logout

        public abstract void OnlogoutReturn(Request request, object[] parameters);

        public abstract OnExceptionAction OnlogoutException(Request request, Exception ex);

        #endregion logout

        #region buy

        public abstract void OnbuyReturn(Request request, object[] parameters, OrderDataBean returnValue);

        public abstract OnExceptionAction OnbuyException(Request request, Exception ex);

        #endregion buy

        #region sell

        public abstract void OnsellReturn(Request request, object[] parameters, OrderDataBean returnValue);

        public abstract OnExceptionAction OnsellException(Request request, Exception ex);

        #endregion sell

        #region getHoldings

        public abstract void OngetHoldingsReturn(Request request, object[] parameters, HoldingDataBean[] returnValue);

        public abstract OnExceptionAction OngetHoldingsException(Request request, Exception ex);

        #endregion getHoldings

        #region register

        public abstract void OnregisterReturn(Request request, object[] parameters, AccountDataBean returnValue);

        public abstract OnExceptionAction OnregisterException(Request request, Exception ex);

        #endregion register

        #region getClosedOrders

        public abstract void OngetClosedOrdersReturn(Request request, object[] parameters, OrderDataBean[] returnValue);

        public abstract OnExceptionAction OngetClosedOrdersException(Request request, Exception ex);

        #endregion getClosedOrders

        #region getQuote

        public abstract void OngetQuoteReturn(Request request, object[] parameters, QuoteDataBean returnValue);

        public abstract OnExceptionAction OngetQuoteException(Request request, Exception ex);

        #endregion getQuote

    }
}
